<?php if ($_GET['pg'] == 'categories' && $_GET['id'] == '2'){
    include 'corporate.php';
} elseif ($_GET['pg'] == 'categories' && $_GET['id'] != '2'){
    include 'categorii.php';
} elseif ($_GET['pg'] == 'pages' || $_GET['pg'] == 'news' || $_GET['pg'] == 'top') {
    include 'pages_news_top.php';
} elseif ($_GET['pg'] == 'offers'){
    include 'oferte.php';
} else {
    include 'home.php';
}?>